* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

body {
    background-color: #f3f5f7;
}

h1 {
    float: left;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}


/*版心*/
.wrapper {
    width: 1200px;
    margin: 0 auto;
}

/*头部*/
.header {
    /*margin-top: 30px;*/
    /*margin-bottom: 30px;*/
    margin: 30px auto;
    height: 42px;
    /*background-color: pink;*/
}

/*导航*/
.nav {
    height: 42px;
    float: left;
    /*background-color: red;*/
    margin-left: 70px;
    /*line-height: 50px;*/
}

.nav li {
    float: left;
    margin: auto 16px;
}

.nav li a {
    display: block;
    height: 42px;
    line-height: 42px;
    padding: 0 9px;
    /*font-family: MicrosoftYaHei, serif;*/
    font-size: 18px;
    /*font-weight: normal;*/
    /*font-stretch: normal;*/
    /*letter-spacing: 2px;*/
    color: #050505;
}

.nav li a:hover {
    /*    蓝色下划线*/
    border-bottom: 2px solid #00a4ff;
    font-weight: bold;
}

/*搜索*/
.search {
    margin-left: 59px;
    float: left;
    width: 412px;
    height: 42px;
    /*line-height: 40px;*/
    border: solid 1px #00a4ff;
}

.search input {
    width: 360px;
    height: 40px;
    padding-left: 20px;
    border: 0;
    float: left;
}

.search input::placeholder {
    font-family: MicrosoftYaHei, serif;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    color: #bfbfbf;
}

.search button {
    display: inline-block;
    float: right;
    width: 50px;
    height: 40px;
    background-image: url("../images/btn.png");
    border: 0;
}

/*右上角用户信息*/
.user {
    margin-right: 10px;
    float: right;
    line-height: 42px;
    height: 42px;
}

.user img {
    vertical-align: middle;
}

/*banner*/
.banner {
    height: 420px;
    background-color: #1c036c;
}

.banner .wrapper {
    height: 420px;
    background-image: url('../images/banner2.png');
}

.banner .wrapper .left {
    float: left;
    width: 190px;
    height: 420px;
    line-height: 46px;
    background-color: rgba(0, 0, 0, 0.3);
}

.banner .wrapper .right {
    margin-top: 50px;
    float: right;
    width: 228px;
    height: 300px;
    background-color: #ffffff;
}

.banner li {
    display: block;
    height: 46px;
    /*line-height: 46px;*/
    margin-left: 18px;
    width: 150px;
}

.banner .left li a {
    font-size: 14px;
    color: #ffffff;
}

.banner .left li a:hover {
    color: #00b4ff;
}

/*.banner li span:hover {*/
/*    color: #00b4ff;*/
/*}*/
.banner .left li span {
    float: right;
    font-size: 14px;
    color: #ffffff;
}

/*right课程表*/
.banner .right h2 {
    /*display: block;*/
    height: 48px;
    width: 228px;
    background-color: #9bceea;
    text-align: center;
    line-height: 48px;
    font-size: 18px;
    color: #fff;
}

.banner .right .content {
    margin: auto 18px;
}

.banner .right .content dl {
    /*display: block;*/
    padding: 12px 0;
    border-bottom: 1px solid #cccccc;
}

.banner .right .content dt {
    font-size: 16px;
    color: #4e4e4e;
}

.banner .right .content dd {
    font-size: 14px;
    color: #4e4e4e;
}

.banner .right .content button {
    margin-top: 5px;
    width: 200px;
    height: 41px;
    background-color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: solid 1px #00a4ff;
    color: #00a4ff;
}

.goods {
    margin-top: 12px;
    width: 1200px;
    height: 60px;
    line-height: 60px;
    background-color: #ffffff;
    box-shadow: 0 2px 3px 0 rgba(118, 118, 118, 0.2);
}

.goods h2 {
    float: left;
    font-size: 16px;
    color: #00a4ff;
    font-weight: 400;
    line-height: 60px;
    margin-left: 18px;
}

.goods ul {
    float: left;
}

.goods ul li {
    float: left;
    /*height: 60px;*/
    line-height: 60px;
    /*border-left: 1px solid;*/
    /*background-color: pink;*/
    /*padding-left: 2px;*/
    margin-left: 16px;
}

.goods li a {
    border-left: 1px solid #bfbfbf;
    padding: 0 18px;
    font-size: 16px;
    color: #050505;
}

.goods .update {
    float: right;
    color: #00a4ff;
    margin-right: 28px;
    font-size: 14px;
}

.box {
    margin-top: 18px;
}

.box .title {
    /*float: left;*/
    height: 50px;
    line-height: 50px;
}

.box .title h2 {
    float: left;
    display: inline-block;
    font-size: 20px;
    color: #494949;
    font-weight: 400;
}

.box .title .more {
    float: right;
    margin-right: 20px;
    font-size: 12px;
    color: #a5a5a5;
}

.box .content li {
    width: 228px;
    height: 270px;
    background-color: #ffffff;
    margin-right: 15px;
    margin-bottom: 15px;
    float: left;
    display: inline-block;
}

.box .content li:nth-child(5n) {
    margin-right: 0;
}

.box .content li img .cover{
    width: 228px;
    height: 155px;
}

.box .content li h3 {
    color: #050505;
    margin: 20px 15px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
}

.box .content li p {
    margin: 20px 15px;
    text-align: left;
    font-size: 12px;

    span {
        color: #ffa500;
    }
}

/*底部版权*/
.footer {
    margin-top: 50px;
    background-color: #fff;
    height: 200px;
}

.footer .left {
    float: left;
    padding-top: 20px;

    p {
        margin-top: 14px;
        font-size: 12px;
        color: #626161;
    }

    a {
        margin-top: 10px;
        display: inline-block;
        width: 120px;
        height: 36px;
        border: 1px solid #00a4ff;
        color: #00a4ff;
        text-align: center;
        line-height: 36px;
    }
}

.footer .right {
    float: right;
    margin-right: 50px;
    margin-top: 28px;
    text-align: center;

    dl {
        display: inline-block;
        margin-right: 50px;

        dt {
            margin-bottom: 12px;
        }

        dd {
            font-size: 14px;
            margin-bottom: 8px;

            a {
                color: #333333;
            }

            a:hover {
                color: #00a4ff;
            }
        }
    }
}

.box .content li {
    position: relative;

}

.box .content li .hot {
    position: absolute;
    right: -8px;
    top: 4px;
}

/*.userinfo .avatar {*/
/*    width: 30px;*/
/*    height: 50px;*/
/*    line-height: 50px;*/
/*    display: table-cell;*/
/*    text-align: center;*/
/*}*/

